package com.baijiayun.liveuibase.widgets.courseware.models;

import com.baijiayun.livecore.models.file.homework.LPHomeworkModel;
import com.baijiayun.liveuibase.base.BaseUIConstant;
import com.baijiayun.liveuibase.widgets.courseware.BaseCourseWareFileViewHolder;

public class DownloadHomeworkModel {
    LPHomeworkModel homeworkModel;
    BaseUIConstant.HomeworkDownloadState downloadState = BaseUIConstant.HomeworkDownloadState.NotExit;
    BaseCourseWareFileViewHolder itemView;
    float progress = -1;

    public DownloadHomeworkModel(LPHomeworkModel homeworkModel, BaseCourseWareFileViewHolder itemView) {
        this.homeworkModel = homeworkModel;
        this.itemView = itemView;
    }

    public LPHomeworkModel getHomeworkModel() {
        return homeworkModel;
    }

    public BaseCourseWareFileViewHolder getItemView() {
        return itemView;
    }

    public void setItemView(BaseCourseWareFileViewHolder itemView) {
        this.itemView = itemView;
    }

    public float getProgress() {
        return progress;
    }

    public void setProgress(float progress) {
        this.progress = progress;
    }

    public BaseUIConstant.HomeworkDownloadState getDownloadState() {
        return downloadState;
    }

    public void setDownloadState(BaseUIConstant.HomeworkDownloadState downloadState) {
        this.downloadState = downloadState;
    }
}
